package com.heima.admin.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.ChannelDTO;
import com.heima.model.admin.dtos.ResponseResult;
import com.heima.model.admin.pojos.AdChannel;


public interface AdChannelService extends IService<AdChannel> {
    /**
     * 根据名称分页查询频道列表
     * @param dto
     * @return
     */
    public ResponseResult findByNameAndPage(ChannelDTO dto);
    public ResponseResult addAdChannel(AdChannel adChannel);
    public ResponseResult updateAdChanner(AdChannel adChannel);
    public ResponseResult deleteAdChannel(Integer id);
}
